package cn.leshua.req.wechat;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;

public class SaasWxpayConfigDataDto implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 4007843038417096562L;
	private String merchantId;

	// 部分代理商可指定
	private String wxSubMchId; // 微信子商户号
	// 费率类型，默认线下
	private Integer payType; // 通道类型 1线上 2线下 3公缴 4公益 5保险 6绿洲
	// reportConfigId
	private Integer reportConfigId;

	private Integer configType; // 配置参数类型 1. 绑定appid 2. 推荐关注 3. 授权目录
	private String sub_appid; // 为1， 2时必传
	private String subscribe_appid; // 推荐关注appid。为2时条件选填
	private String receipt_appid; // 小程序appid。为2时条件选填
	private String jsapi_path; // 授权目录，为3时必填

	public String getWxSubMchId() {
		return wxSubMchId;
	}

	public void setWxSubMchId(String wxSubMchId) {
		this.wxSubMchId = wxSubMchId;
	}

	public Integer getPayType() {
		return payType;
	}

	public void setPayType(Integer payType) {
		this.payType = payType;
	}

	public Integer getReportConfigId() {
		return reportConfigId;
	}

	public void setReportConfigId(Integer reportConfigId) {
		this.reportConfigId = reportConfigId;
	}

	public Integer getConfigType() {
		return configType;
	}

	public void setConfigType(Integer configType) {
		this.configType = configType;
	}

	public String getSub_appid() {
		return sub_appid;
	}

	public void setSub_appid(String sub_appid) {
		this.sub_appid = sub_appid;
	}

	public String getSubscribe_appid() {
		return subscribe_appid;
	}

	public void setSubscribe_appid(String subscribe_appid) {
		this.subscribe_appid = subscribe_appid;
	}

	public String getReceipt_appid() {
		return receipt_appid;
	}

	public void setReceipt_appid(String receipt_appid) {
		this.receipt_appid = receipt_appid;
	}

	public String getJsapi_path() {
		return jsapi_path;
	}

	public void setJsapi_path(String jsapi_path) {
		this.jsapi_path = jsapi_path;
	}

	public String getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(String merchantId) {
		this.merchantId = merchantId;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}

}
